<?php
namespace app\admin\controller;

use think\Controller;
use think\Loader;

class Index extends Controller
{
    public function index()
    {
       return $this->fetch('index');
    }

    public function welcome()
    {
       return "欢迎来到o2o主后台首页！";
    }

    public function map()
    {
        Loader::import('map',EXTEND_PATH,'.php');
//        echo $output = \Map::getLatLng('常州市天宁区');
//        print_r(json_decode($output));

        return \Map::staticimage('常州天宁区鹤园路');
    }
}
